package com.ruoyi.baseData.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.baseData.domain.dto.TeamDto;
import com.ruoyi.baseData.domain.vo.TeamUserVo;
import com.ruoyi.baseData.domain.vo.TeamVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;


/**
 *
 */
public interface TeamService  {
    Page<TeamVo> getTeamByPage(TeamDto pageEntity);

    void addTeam(TeamDto testDto);

    void updateTeam(TeamDto testDto);

    void delTeam(TeamDto testDto);

    List<TeamUserVo> getUserByTeamId(TeamDto teamDto);

    void addTeamUser(TeamDto teamDto);

    /**
     * 班组上传
     * @param file
     * @return
     * @throws IOException
     */
    String uploadTeam(MultipartFile file) throws IOException;

}
